package com.stone.weblog.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.lang.ref.PhantomReference;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @program: weblog-springboot
 * @author: stone
 * @url: 1755545704@qq.com
 * @create: 2024-01-07 23:19
 * @description:
 */
@Data
@ApiModel(value = "用户实体")
public class UserEntity {
    @ApiModelProperty("用户名")
    @NotBlank(message = "user不能为空")
    private String user;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
    private LocalDate date;



}